﻿using System;
using System.Runtime.CompilerServices;
using SuperMap.Realspace;
using System.Windows.Forms;

namespace Shine.Framework
{    
    public interface IApplicationEvents
    {
        event OnDelayEventsChangedEventHandler OnDelayEvents;

        event OnCurrentToolChangedEventHandler OnCurrentToolChangedEvent;

        event OnDisplayStatusInfoEventHandler OnDisplayStatusInfoEvent;

        event OnDockWindowAndRefreshEventHandler OnDockWindowAndRefreshEvent;

        event OnDockWindowAtFixedLocationEventHandler OnDockWindowAtFixedLocationEvent;

        event OnDockWindowEventHandler OnDockWindowEvent;

        event OnHideDockWindowEventHandler OnHideDockWindowEvent;

        event EventHandler<SceneRouteEventArgs> OnLoadFlyRouteEvent;

        event EventHandler OnFullScreenEvent;

        //event OnUpdateContentEventHandler OnUpdateContentEvent;

        //event OnVersionChangedEventHandler OnVersionChangedEvent;

        //event OnEditStateChangedEventHandler OnEditStateChangedEvent;
    }

    public class SceneRouteEventArgs : EventArgs
    {
        public Routes CurrentRoute { get; private set; }
        public SceneRouteEventArgs(Routes _currentRoute)
        {
            this.CurrentRoute = _currentRoute;           
        }
    }

}

